import request from '@/utils/request'

export function getcontentDetailsData(content_id) {
  return request({
    url: `/content/${content_id}`,
    method: 'get'
  })
}

export function getRecommendData(content_id, page = 1, per_page = 4) {
  return request({
    url: `/content/recomm`,
    method: 'get',
    params: {
      content_id,
      page,
      per_page
    }
  })
}
